package com.mairuide.bill;


import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * @Description
 * @auther 刘中华
 * @create 2019-03-28 15:26
 */
public class DealFlowMapper implements RowMapper<DealFlow> {
    @Override
    public DealFlow mapRow(ResultSet rs, int i) throws SQLException {
        DealFlow obj = new DealFlow();
        obj.setUuid(rs.getString("UUID")==null?"":rs.getString("UUID"));
        obj.setBillId(rs.getInt("BILL_ID"));
//        obj.setUuid(rs.getString("UUID")==null?"":rs.getString("UUID"));
//        obj.setUuid(rs.getString("UUID")==null?"":rs.getString("UUID"));
//        obj.setUuid(rs.getString("UUID")==null?"":rs.getString("UUID"));
//        obj.setUuid(rs.getString("UUID")==null?"":rs.getString("UUID"));
//        obj.setUuid(rs.getString("UUID")==null?"":rs.getString("UUID"));
        return obj;
    }
}
